CONFIG += c++11

TARGET = myhttp
CONFIG += console
CONFIG -= app_bundle

TEMPLATE = app

unix{
DEFINES +=  LINUX

INCLUDEPATH += $$PWD/  \

}


win32{
DEFINES +=  WIN32 _WIN32

INCLUDEPATH += $$PWD/  \


}


SOURCES += \
    main.cpp \
    MySocket.cpp \
    MyEventLoopThreadPool.cpp \
    MyEventLoopThread.cpp \
    base/SimpleThread.cpp \
    base/Lock.cpp \
    MyEventLoop.cpp \
    DetectionEvent.cpp \
    MyHandler.cpp \
    SelectEvent.cpp \
    Buffer.cpp \
    Parser.cpp \
    base/mysleep.cpp

HEADERS += \
    MySocket.h \
    MyEventLoopThreadPool.h \
    MyEventLoopThread.h \
    base/SimpleThread.h \
    base/Base.h \
    base/Lock.h \
    MyEventLoop.h \
    DetectionEvent.h \
    MyHandler.h \
    SelectEvent.h \
    Buffer.h \
    Parser.h \
    socketinclude.h \
    base/msleep.h
